open class X {
    public fun foo1() = "public in super"
    fun testX1() = foo1()
    open public fun foo2() = "public in super"
    fun testX2() = foo2()

    public val val1 = "public in super"
    fun testX3() = val1
    open public val val2 = "public in super"
    fun testX4() = val2
}

